import requests from '@/utils/caxios'

//process.env.VUE_APP_CLINE_API
// 查询参数列表
export function listConfig(data) {
  return requests({
    url: process.env.VUE_APP_CLINE_API+'/key/xp',
    method: 'post',
    data: data
  })

}

export function xps(data) {
  return requests({
    url: process.env.VUE_APP_CLINE_API+'/key/xps',
    method: 'post',
    data: data
  })

}
 
// 新增参数配置
export function addConfig(data) {
  return requests({
    url: process.env.VUE_APP_CLINE_API+'/key/xp',
    method: 'post',
    data: data
  })
}
  

// 导出参数
export function exportConfig(query) {
  return requests({
    url: '/system/config/export',
    method: 'get',
    params: query
  })
}